package com.youlai.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.system.model.entity.Salary;
import com.youlai.system.model.vo.SalaryVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SalaryMapper extends BaseMapper<Salary> {
    List<SalaryVO> selectSalaryAll(Integer keyword);
    boolean updateSalary(Salary salary);
    SalaryVO selectById(Integer id);
    boolean addSalary(Salary salary);
    boolean deleteSalary(Integer userId);
}
